<html>
<head>
    <title>ActionPlan.java</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
        .ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; }
        .s0 { color: rgb(0,0,128); font-weight: bold; }
        .s1 { }
        .s2 { color: rgb(128,128,128); font-style: italic; }
    </style>
</head>
<BODY BGCOLOR="#ffffff">
<TABLE CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#C0C0C0">
    <TR>
        <TD>
            <CENTER>
                <FONT FACE="Arial, Helvetica" COLOR="#000000">
                    ActionPlan.java</FONT>
            </center>
        </TD>
    </TR>
</TABLE>
<pre>

<a name="l1"><span class="ln">1    </span></a><span class="s0">package </span><span class="s1">com.ibr.ticketmanagement.app.data; 
<a name="l2"><span class="ln">2    </span></a> 
<a name="l3"><span class="ln">3    </span></a></span><span class="s0">import </span><span
        class="s1">android.content.ContentValues;
<a name="l4"><span class="ln">4    </span></a> 
<a name="l5"><span class="ln">5    </span></a></span><span class="s0">import <a
        href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">com.ibr.ticketmanagement.app.util.DatabaseHandler</a></span><span
        class="s1">;
<a name="l6"><span class="ln">6    </span></a> 
<a name="l7"><span class="ln">7    </span></a></span><span class="s0">import </span><span
        class="s1">java.util.Date;
<a name="l8"><span class="ln">8    </span></a> 
<a name="l9"><span class="ln">9    </span></a></span><span class="s2">/** 
<a name="l10"><span class="ln">10   </span></a> * Created by Girishn on 08-05-2014. 
<a name="l11"><span class="ln">11   </span></a> */</span><span class="s1"> 
<a name="l12"><span class="ln">12   </span></a></span><span class="s0">public class </span><span
        class="s1">ActionPlan {
<a name="l13"><span class="ln">13   </span></a>    </span><span class="s0">int </span><span
        class="s1">_id;
<a name="l14"><span class="ln">14   </span></a>    </span><span class="s0">int </span><span
        class="s1">ticketId;
<a name="l15"><span class="ln">15   </span></a>    String name; 
<a name="l16"><span class="ln">16   </span></a>    String wWStart; 
<a name="l17"><span class="ln">17   </span></a>    String actionPlan; 
<a name="l18"><span class="ln">18   </span></a>    String siteContact; 
<a name="l19"><span class="ln">19   </span></a>    String siteAccess; 
<a name="l20"><span class="ln">20   </span></a> 
<a name="l21"><span class="ln">21   </span></a>    </span><span class="s0">public </span><span
        class="s1">ActionPlan(</span><span class="s0">int </span><span class="s1">_id, </span><span
        class="s0">int </span><span class="s1">ticketId, String name, String wWStart, String actionPlan, String siteContact, String siteAccess) {
<a name="l22"><span class="ln">22   </span></a>        </span><span class="s0">this</span><span
        class="s1">._id = _id;
<a name="l23"><span class="ln">23   </span></a>        </span><span class="s0">this</span><span
        class="s1">.ticketId = ticketId;
<a name="l24"><span class="ln">24   </span></a>        </span><span class="s0">this</span><span
        class="s1">.name = name;
<a name="l25"><span class="ln">25   </span></a>        </span><span class="s0">this</span><span
        class="s1">.wWStart = wWStart;
<a name="l26"><span class="ln">26   </span></a>        </span><span class="s0">this</span><span
        class="s1">.actionPlan = actionPlan;
<a name="l27"><span class="ln">27   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteContact = siteContact;
<a name="l28"><span class="ln">28   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteAccess = siteAccess;
<a name="l29"><span class="ln">29   </span></a>    } 
<a name="l30"><span class="ln">30   </span></a> 
<a name="l31"><span class="ln">31   </span></a>    </span><span class="s0">public </span><span
        class="s1">ActionPlan(</span><span class="s0">int </span><span class="s1">ticketId, String name, String wWStart, String actionPlan, String siteContact, String siteAccess) {
<a name="l32"><span class="ln">32   </span></a>        </span><span class="s0">this</span><span
        class="s1">.ticketId = ticketId;
<a name="l33"><span class="ln">33   </span></a>        </span><span class="s0">this</span><span
        class="s1">.name = name;
<a name="l34"><span class="ln">34   </span></a>        </span><span class="s0">this</span><span
        class="s1">.wWStart = wWStart;
<a name="l35"><span class="ln">35   </span></a>        </span><span class="s0">this</span><span
        class="s1">.actionPlan = actionPlan;
<a name="l36"><span class="ln">36   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteContact = siteContact;
<a name="l37"><span class="ln">37   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteAccess = siteAccess;
<a name="l38"><span class="ln">38   </span></a>    } 
<a name="l39"><span class="ln">39   </span></a> 
<a name="l40"><span class="ln">40   </span></a>    </span><span class="s0">public int </span><span
        class="s1">get_id() {
<a name="l41"><span class="ln">41   </span></a>        </span><span class="s0">return </span><span
        class="s1">_id;
<a name="l42"><span class="ln">42   </span></a>    } 
<a name="l43"><span class="ln">43   </span></a> 
<a name="l44"><span class="ln">44   </span></a>    </span><span class="s0">public void </span><span
        class="s1">set_id(</span><span class="s0">int </span><span class="s1">_id) {
<a name="l45"><span class="ln">45   </span></a>        </span><span class="s0">this</span><span
        class="s1">._id = _id;
<a name="l46"><span class="ln">46   </span></a>    } 
<a name="l47"><span class="ln">47   </span></a> 
<a name="l48"><span class="ln">48   </span></a>    </span><span class="s0">public int </span><span
        class="s1">getTicketId() {
<a name="l49"><span class="ln">49   </span></a>        </span><span class="s0">return </span><span
        class="s1">ticketId;
<a name="l50"><span class="ln">50   </span></a>    } 
<a name="l51"><span class="ln">51   </span></a> 
<a name="l52"><span class="ln">52   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setTicketId(</span><span class="s0">int </span><span class="s1">ticketId) {
<a name="l53"><span class="ln">53   </span></a>        </span><span class="s0">this</span><span
        class="s1">.ticketId = ticketId;
<a name="l54"><span class="ln">54   </span></a>    } 
<a name="l55"><span class="ln">55   </span></a> 
<a name="l56"><span class="ln">56   </span></a>    </span><span class="s0">public </span><span
        class="s1">String getName() {
<a name="l57"><span class="ln">57   </span></a>        </span><span class="s0">return </span><span
        class="s1">name;
<a name="l58"><span class="ln">58   </span></a>    } 
<a name="l59"><span class="ln">59   </span></a> 
<a name="l60"><span class="ln">60   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setName(String name) {
<a name="l61"><span class="ln">61   </span></a>        </span><span class="s0">this</span><span
        class="s1">.name = name;
<a name="l62"><span class="ln">62   </span></a>    } 
<a name="l63"><span class="ln">63   </span></a> 
<a name="l64"><span class="ln">64   </span></a>    </span><span class="s0">public </span><span
        class="s1">String getwWStart() {
<a name="l65"><span class="ln">65   </span></a>        </span><span class="s0">return </span><span
        class="s1">wWStart;
<a name="l66"><span class="ln">66   </span></a>    } 
<a name="l67"><span class="ln">67   </span></a> 
<a name="l68"><span class="ln">68   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setwWStart(String wWStart) {
<a name="l69"><span class="ln">69   </span></a>        </span><span class="s0">this</span><span
        class="s1">.wWStart = wWStart;
<a name="l70"><span class="ln">70   </span></a>    } 
<a name="l71"><span class="ln">71   </span></a> 
<a name="l72"><span class="ln">72   </span></a>    </span><span class="s0">public </span><span
        class="s1">String getActionPlan() {
<a name="l73"><span class="ln">73   </span></a>        </span><span class="s0">return </span><span
        class="s1">actionPlan;
<a name="l74"><span class="ln">74   </span></a>    } 
<a name="l75"><span class="ln">75   </span></a> 
<a name="l76"><span class="ln">76   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setActionPlan(String actionPlan) {
<a name="l77"><span class="ln">77   </span></a>        </span><span class="s0">this</span><span
        class="s1">.actionPlan = actionPlan;
<a name="l78"><span class="ln">78   </span></a>    } 
<a name="l79"><span class="ln">79   </span></a> 
<a name="l80"><span class="ln">80   </span></a>    </span><span class="s0">public </span><span
        class="s1">String getSiteContact() {
<a name="l81"><span class="ln">81   </span></a>        </span><span class="s0">return </span><span
        class="s1">siteContact;
<a name="l82"><span class="ln">82   </span></a>    } 
<a name="l83"><span class="ln">83   </span></a> 
<a name="l84"><span class="ln">84   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setSiteContact(String siteContact) {
<a name="l85"><span class="ln">85   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteContact = siteContact;
<a name="l86"><span class="ln">86   </span></a>    } 
<a name="l87"><span class="ln">87   </span></a> 
<a name="l88"><span class="ln">88   </span></a>    </span><span class="s0">public </span><span
        class="s1">String getSiteAccess() {
<a name="l89"><span class="ln">89   </span></a>        </span><span class="s0">return </span><span
        class="s1">siteAccess;
<a name="l90"><span class="ln">90   </span></a>    } 
<a name="l91"><span class="ln">91   </span></a> 
<a name="l92"><span class="ln">92   </span></a>    </span><span class="s0">public void </span><span
        class="s1">setSiteAccess(String siteAccess) {
<a name="l93"><span class="ln">93   </span></a>        </span><span class="s0">this</span><span
        class="s1">.siteAccess = siteAccess;
<a name="l94"><span class="ln">94   </span></a>    } 
<a name="l95"><span class="ln">95   </span></a>    </span><span class="s0">public </span><span
        class="s1">ContentValues getContentValues() {
<a name="l96"><span class="ln">96   </span></a>        ContentValues values = </span><span
        class="s0">new </span><span class="s1">ContentValues();
<a name="l97"><span class="ln">97   </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_TICKET_ID, </span><span
        class="s0">this</span><span class="s1">.ticketId);
<a name="l98"><span class="ln">98   </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_NAME, </span><span
        class="s0">this</span><span class="s1">.name);
<a name="l99"><span class="ln">99   </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_WWSTART, </span><span
        class="s0">this</span><span class="s1">.wWStart);
<a name="l100"><span class="ln">100  </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_ACTION_PLAN, </span><span
        class="s0">this</span><span class="s1">.actionPlan);
<a name="l101"><span class="ln">101  </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_SITE_CONTACT, </span><span
        class="s0">this</span><span class="s1">.siteContact);
<a name="l102"><span class="ln">102  </span></a>        values.put(<a
            href="../../../../../com/ibr/ticketmanagement/app/util/DatabaseHandler.java.html">DatabaseHandler</a>.KEY_AP_SITE_ACCESS, </span><span
        class="s0">this</span><span class="s1">.siteAccess);
<a name="l103"><span class="ln">103  </span></a>        </span><span class="s0">return </span><span
        class="s1">values;
<a name="l104"><span class="ln">104  </span></a>    } 
<a name="l105"><span class="ln">105  </span></a>}</span></pre>
</body>
</html>